﻿namespace WeChat.Core.Protocol.Protos
{
    using ProtoBuf;
    using System;
    using System.ComponentModel;

    [Serializable, ProtoContract(Name = "Whatsnew61")]
    public class Whatsnew61 : IExtensible
    {
        private uint _like = 0;
        private uint _liked = 0;
        private IExtension extensionObject;

        IExtension IExtensible.GetExtensionObject(bool createIfMissing)
        {
            return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
        }

        [ProtoMember(1, IsRequired = false, Name = "like", DataFormat = DataFormat.TwosComplement), DefaultValue((long)0L)]
        public uint like
        {
            get
            {
                return this._like;
            }
            set
            {
                this._like = value;
            }
        }

        [ProtoMember(2, IsRequired = false, Name = "liked", DataFormat = DataFormat.TwosComplement), DefaultValue((long)0L)]
        public uint liked
        {
            get
            {
                return this._liked;
            }
            set
            {
                this._liked = value;
            }
        }
    }
}

